﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Security.Cryptography;
using System.Security;

namespace RSSReader.MobileClient.Framework
{
    class MD5Hash
    {
        public string GetMD5Hash(string textToHash)
        {
            var a = new SHA256Managed();
            return Convert.ToBase64String(a.ComputeHash(new System.Text.UTF8Encoding().GetBytes(textToHash)));
        }
    }
}
